from module.hero.index import (
    loadData as loadHeroData
)
from module.region.index import (
    loadData as loadRegionData
)
from db.databaseOperation import (
    deleteAllNodes
)
# app.py
def main():
    # 1.删除所有内容
    deleteAllNodes()
    
    # 2.加载英雄相关的数据
    loadHeroData()

    # 3.加载与区域相关的数据
    loadRegionData()
    

# 当文件被直接运行时才调用主函数
if __name__ == "__main__":
    main()

